package com;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.annotation.EnableScheduling;

@ComponentScan("com.drug.controller")
@ComponentScan("com.drug.service")
@MapperScan(basePackages = {"com.drug.mapper"})
@SpringBootApplication()
@EnableScheduling
public class DrugApplication {
    public static void main(String[] args) {
        SpringApplication.run(DrugApplication.class, args);
    }

}
